package com.HeJing.实例变量赋值过程_JavaBean_UML类图.方法的相关应用.可变个数形参的方法;

/**
 * ClassName: Main
 * Package: com.HeJing.方法的相关应用.可变个数形参的方法
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-03-22 18:38
 * @Version: 1.0
 */
public class Main {
    public static void main(String[] args) {

        MethodMoreArgsTest test = new MethodMoreArgsTest();

        test.print();
        test.print(1);
        test.print(1, 10);

        System.out.println("\n**************************************\n");

        StringConcatTest test2 = new StringConcatTest();
        String info = test2.concat("-", "hello", "world");
        System.out.println(info);
    }
}





















